﻿
@{
    ViewData["Title"] = "调拨管理";
}
<style type="text/css">
    form {
        margin: 0;
    }

    textarea {
        display: block;
    }

    .need {
        FONT-STYLE: normal;
        FONT-FAMILY: 微软雅黑;
        FONT-SIZE: 13px;
        TEXT-DECORATION: none;
        width: 75px;
    }

    .auto-style1 {
        height: 25px;
    }
</style>
<div class="mini-toolbar" style="border-bottom:0;padding:0px;padding-left:10px;">
    <table>
        <tr>
            <td class="need">调拨单号:</td>
            <td>
                <input id="whaCode" name="whaCode" class="mini-textbox" />
            </td>
            <td class="need">调拨状态:</td>
            <td>
                <input class="mini-combobox" id="Status" name="Statusname" textField="name" valueField="id" data="[{id:'0',name:'保存'},{id:'1',name:'调出途中-提交'},{id:'2',name:'调入确认'},{id:'3',name:'核准'}]" showNullItem="true" nullitemtext="请选择..." />
            </td>
            <td class="need">调入时间:</td>
            <td>
                <input id="PreparedTime1" name="PreparedTime1" class="mini-datepicker" />-<input id="PreparedTime2" name="PreparedTime2" class="mini-datepicker" />
            </td>
            <td><a class="mini-button" style="width:120px;" iconcls="icon-search" onclick="Search()">查询</a></td>
        </tr>
        <tr>
            <td class="need">调入仓库:</td>
            <td>
                <input id="InwhID" class="mini-combobox" textfield="whInfo" valuefield="whID" shownullitem="true" allowinput="true" nullitemtext="请选择..." valueFromSelect="true" url="" />
            </td>
            <td class="need">调出仓库:</td>
            <td>
                <input id="OutwhID" class="mini-combobox" textfield="whInfo" valuefield="whID" shownullitem="true" allowinput="true" nullitemtext="请选择..." valueFromSelect="true" url="" />
            </td>
            <td class="need">调出时间:</td>
            <td>
                <input id="PreparedTime1" name="PreparedTime1" class="mini-datepicker" />-<input id="PreparedTime2" name="PreparedTime2" class="mini-datepicker" />
            </td>
            <td><a class="mini-button" style="width:120px;" iconcls="icon-add" onclick="Add()">新增</a></td>
        </tr>
    </table>
</div>
<div class="mini-fit">
    <div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" sortmode="client" idField="whaCode" allowResize="true" url="">
        <div property="columns">
            <div field="whaCode" allowSort="true" width="120" headerAlign="center">
                调拨单号
            </div>
            <div field="Preparedby" allowSort="true" width="120" headerAlign="center">
                调出时间
            </div>
            <div field="PreparedTime" allowSort="true" width="120" headerAlign="center">
                调入时间
            </div>
            <div field="Submittedby" allowSort="true" width="120" headerAlign="center">
                调出仓库
            </div>
            <div field="SubmissionTime" allowSort="true" width="120" headerAlign="center">
                调入仓库
            </div>
        </div>
    </div>
</div>

